enum BrandDistributionEndorseApplyField {
  NICK_NAME = "nick_name",
  MOBILE = "mobile",
  WECHAT_ID = "wechat_id",
  REMARK = "remark"
}

export const isBrandDistributionEndorseApplyField = (val: any): val is BrandDistributionEndorseApplyField => {
  return [
    BrandDistributionEndorseApplyField.NICK_NAME,
    BrandDistributionEndorseApplyField.MOBILE,
    BrandDistributionEndorseApplyField.WECHAT_ID,
    BrandDistributionEndorseApplyField.REMARK,
  ].includes(val);
};

export const everyIsBrandDistributionEndorseApplyField = (vals: any[]): boolean => {
  return vals.every(isBrandDistributionEndorseApplyField)
}

export default BrandDistributionEndorseApplyField;